package xjtu.sad.zbsj.task.annotater.manageTask;

import com.github.pagehelper.Page;
import xjtu.sad.zbsj.common.PageParam;

import java.util.List;

public interface ManageTaskService {
    Page<ManageTask> getTaskList(PageParam pageParam);

    Page<ManageTask> getMyTask(Integer userId,PageParam pageParam);

    Page<TaskMark> getMarkDetail(Integer draw_id,PageParam pageParam);

    String drawTask(DrawTask drawTask, Integer userId);

    boolean judgeAllowDraw(Integer userId, Integer task_id);
}
